<?php

namespace liketp\contract;

use liketp\Request;
use liketp\Response;

abstract class MiddlewareCowpea
{
    abstract public function before(Request $request, ?array $params = []): Request;

    abstract public function after(Response $response, ?array $params = []): Response;
}
